package cn.iocoder.yudao.module.vos.controller.admin.tenantrequestlog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 租户请求日志新增/修改 Request VO")
@Data
public class TenantRequestLogSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11614")
    private Long id;

    @Schema(description = "租户ID", example = "31858")
    private Long rechargeTenantId;

    @Schema(description = "请求URL", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "请求参数")
    private String params;

    @Schema(description = "请求返回")
    private String respons;

    @Schema(description = "请求类型", example = "2")
    private String requestType;

    @Schema(description = "单价(元)", requiredMode = Schema.RequiredMode.REQUIRED, example = "15984")
    @NotNull(message = "单价(元)不能为空")
    private BigDecimal unitPrice;

    @Schema(description = "请求后的余额(元)", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "请求后的余额(元)不能为空")
    private BigDecimal afterBalance;

}